<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>gtk-query-immodules-3.0: GTK+ 3 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
<link rel="up" href="pt06.html" title="Part VI. GTK+ Tools">
<link rel="prev" href="gtk3-icon-browser.html" title="gtk3-icon-browser">
<link rel="next" href="gtk-update-icon-cache.html" title="gtk-update-icon-cache">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="pt06.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="gtk3-icon-browser.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="gtk-update-icon-cache.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="gtk-query-immodules-3.0"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">gtk-query-immodules-3.0</span></h2>
<p>gtk-query-immodules-3.0 — Input method module registration utility</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">gtk-query-immodules-3.0</code>  [--update-cache] [MODULE...]</p></div>
</div>
<div class="refsect1">
<a name="id-1.7.6.5"></a><h2>Description</h2>
<p>
<span class="command"><strong>gtk-query-immodules-3.0</strong></span> collects information about loadable
input method modules for GTK+ and writes it to the default cache file
location, or to <code class="filename">stdout</code>.
</p>
<p>
If called without arguments, it looks for modules in the GTK+ input method
module path.
</p>
<p>
If called with arguments, it looks for the specified modules. The arguments
may be absolute or relative paths.
</p>
<p>
Normally, the output of <span class="command"><strong>gtk-query-immodules-3.0</strong></span> is written
to <code class="filename"><em class="replaceable"><code>libdir</code></em>/gtk-3.0/3.0.0/immodules.cache</code>,
where GTK+ looks for it by default. If it is written to some other location,
the <code class="envar">GTK_IM_MODULE_FILE</code> environment variable can be set to point
GTK+ at the file.
</p>
</div>
<div class="refsect1">
<a name="id-1.7.6.6"></a><h2>Options</h2>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term">--update-cache</span></p></td>
<td><p>Write the output to the default cache location instead of
                    <code class="filename">stdout</code></p></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="id-1.7.6.7"></a><h2>Files</h2>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><code class="filename"><em class="replaceable"><code>libdir</code></em>/gtk-3.0/3.0.0/immodules.cache</code></span></p></td>
<td><p>The default im cache file used by GTK+ applications</p></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="id-1.7.6.8"></a><h2>Environment</h2>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><a class="link" href="gtk-running.html#gtk-path" title="GTK_PATH"><code class="envar">GTK_PATH</code></a></span></p></td>
<td><p>Prepends directories to the input method module path</p></td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="gtk-running.html#gtk-im-module-file" title="GTK_IM_MODULE_FILE"><code class="envar">GTK_IM_MODULE_FILE</code></a></span></p></td>
<td><p>Specifies an alternative im module cache for GTK+
    applications</p></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>